var mongoose = require('../utils/mongodb.js');

var tempUrlSchema = mongoose.Schema({
    url:String,
    responseData:String,
    createdDate: {
        type: Date,
        default: Date.now
    },
    updatedDate: {
        type: Date,
        default: Date.now
    },
},{
    timestamps: { createdAt: 'createdDate', updatedAt: 'updatedDate' }
});
exports.tempUrls = mongoose.model('tempUrls',tempUrlSchema, "tempUrls");